package com.ning.parking.config;

import com.baomidou.mybatisplus.annotation.EnumValue;


/**
 * @Author ChenN
 * @Date 2025/4/22 12:01
 * @Version 0.0.1
 **/
public enum  RoleEnum {

    MANAGER(0, "管理员"),
    SENTRY_BOX(1, "岗亭收费员"),
    ;

    @EnumValue
    private final int value;
    private final String desc;

    private RoleEnum(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public int getValue() {
        return this.value;
    }

    public String getDesc() {
        return this.desc;
    }
}
